package es.usj.apps.moviles;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class ElectricVehicleActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.main);

		Button scoreButton = (Button) findViewById(R.id.buttonActivity);
		scoreButton.setText("Ir a mapa");
		
		scoreButton.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {

				startActivity(new Intent(ElectricVehicleActivity.this,
						GMapActivity.class));
			}
		});
	}
}